Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODWindow


GetID

The GetID method returns the window ID for this window object.

ODID GetID ();
return value
The window ID for this window object.
DISCUSSION
The window-state object assigns window IDs that are valid for the length of the session. You can use this method to get the window ID of this window object when it is created, and then pass that ID to the window-state object's AcquireWindow method for subsequent access to this window object.

SEE ALSO
The ODID type (page 899).
The ODWindowState::AcquireWindow method (page 853).
Listing 2-7 on page 49 in OpenDoc Cookbook.
"Window IDs" on page 226 in OpenDoc Programmer's Guide.
"Showing the Dialog Box" on page 235 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help